package com.iemp.web.controller.normal.page;

import com.iemp.bean.impl.News;
import com.iemp.config.consts.EntityConsts;
import com.iemp.service.base.AbstractPageService;
import com.iemp.web.controller.base.impl.PageBaseController;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping(EntityConsts.NEWS)
public class NewsController extends PageBaseController<News> {
    public NewsController(AbstractPageService<News> genericService) {
        super(genericService);
    }
}
